from django.urls import path
from .views import *

urlpatterns = [
    path('order_center/', OrderCenter.as_view()),
    path('order_status/', order_status),
    path('get_escort/', get_escort),
    path('searchescort/<str:userphone>/', SearchEscortView.as_view()),
    path('searchescort/', SearchEscortView.as_view()),
    path('qiniu_token/', QiniuTokenView.as_view()),
    path('qiniuimgurl/', QiniuDownloadView.as_view()),
    path('changepwd/', ChangePwdView.as_view()),
    path('order/', OrderView.as_view()),
    path('acceptorder/', AcceptOrdersView.as_view()),
    path('login/', EscortLogin.as_view()),
    path('queryorders/', QueryOrdersView.as_view()),
    path('certification/', EscortCertificationView.as_view()),
    path('allorders/', AllOrders.as_view()),
    path('weekendorders/', WeekendOrders.as_view()),
    path('score/', ScoreView.as_view()),
]